package mode.factory.cxgc;

/**
 * 华为工厂，实现抽象工厂方法
 *
 * @author xjx
 * @date 2023/7/18 11:19
 */
public class HuaWeiFactory implements IProductFactory {
    @Override
    public IPhoneProduct iPhoneProduct() {
        return new HuaWeiPhone();
    }

    @Override
    public IRouterProduct iRouterProduct() {
        return new HuaWeiRouter();
    }
}
